package cn.edu.ujn.lab3.dao;

import java.util.List;

public interface CustomerMapper {
	int deleteByPrimaryKey(Integer custId);

	int insert(Customer record);

	int insertSelective(Customer record);

	// 通过主键查找
	Customer selectByPrimaryKey(Long custId);
  
	// 选择性的修改
	int updateByPrimaryKeySelective(Customer record);

	int updateByPrimaryKey(Customer record);

	// 根据vo条件查询客户列表
	List<Customer> findCustomerByVo(CustomerQueryVo vo);

	// 根据vo条件查询客户人数
	Integer findCustomerByVoCount(CustomerQueryVo vo);

}